package cn.dada.dadarecipes.user.order.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class OrderUpdateParam {
    @ApiModelProperty(value = "订单id")
    private Long id;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "物流状态")
    private String shippingStatus;
    @ApiModelProperty(value = "付款时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payTime;
    @ApiModelProperty(value = "发货时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date dispatchTime;
    @ApiModelProperty(value = "成交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date transactionTime;
    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

}
